package cn.gok.common.entity.customer;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @author: shikundai
 * @Time: 2020/10/10  14:36
 * @description: 顾客地址信息
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("c_consignee")
public class CustomerConsignee {
    /**
     * Description: 自增主键ID
     * @author: shikundai
     * @date: 2020/10/10 14:43
     */
    @TableId(value = "CUSTOMER_ADDR_ID",type = IdType.AUTO)
    private Integer customerAddrId;
    /**
     * Description: 消费者主键ID
     * @author: shikundai
     * @date: 2020/10/10 14:44
     */
    @TableField("CUSTOMER_ID")
    private String customerId;
    /**
     * Description: 客户名
     * @author: shikundai
     * @date: 2020/10/10 14:44
     */
    @TableField("CUSTOMER_USERNAME")
    private String customerUsername;
    /**
     * Description: 邮编
     * @author: shikundai
     * @date: 2020/10/10 14:44
     */
    @TableField("ZIP")
    private String zip;
    /**
     * Description: 省份
     * @author: shikundai
     * @date: 2020/10/10 14:45
     */
    @TableField("PROVINCE")
    private String province;
    /**
     * Description: 城市
     * @author: shikundai
     * @date: 2020/10/10 14:45
     */
    @TableField("CITY")
    private String city;
    /**
     * Description: 城市中的区域
     * @author: shikundai
     * @date: 2020/10/10 14:45
     */
    @TableField("DISTRICT")
    private String district;
    /**
     * Description: 客户手机号
     * @author: shikundai
     * @date: 2020/10/10 14:45
     */
    @TableField("CUSTOMER_USERPHONE")
    private String customerUserphone;
    /**
     * Description: 地址 具体到门牌号
     * @author: shikundai
     * @date: 2020/10/10 14:46
     */
    @TableField("ADDRESS")
    private String address;
    /**
     * Description: 是否默认 0否 1默认
     * @author: shikundai
     * @date: 2020/10/10 14:46
     */
    @TableField("IS_DEFAULT")
    private Integer isDefault=0;
    /**
     * Description:
     * @author: shikundai
     * @date: 2020/10/10 14:46
     */
    @TableField("BACK_UP")
    private String backUp;
    /**
     * Description: 最后修改时间
     * @author: shikundai
     * @date: 2020/10/10 14:46
     */
    @TableField("MODIFIED_TIME")
    private Date modifiedTime;

}
